class CreateGeopositions < ActiveRecord::Migration
  def change
    create_table :geopositions do |t|
      t.float :accuracy,
                :altitude,
                :altitudeAccuracy,
                :heading,
                :speed,
                :latitude,
                :longitude,
                :timestamp
       
      t.references :user

      t.timestamps
    end
  end
end
